﻿namespace Devonline.Core;

public class AuthEndpoint : Endpoint, IAuthEndpoint
{
    /// <summary>
    /// authorization type
    /// </summary>
    public AuthType AuthType { get; set; }
    /// <summary>
    /// user name
    /// </summary>
    public string? UserName { get; set; }
    /// <summary>
    /// password
    /// </summary>
    public string? Password { get; set; }
    /// <summary>
    /// app code
    /// </summary>
    public string? Code { get; set; }
    /// <summary>
    /// app secret
    /// </summary>
    public string? Secret { get; set; }
    /// <summary>
    /// 访问令牌
    /// </summary>
    public string? Token { get; set; }
    /// <summary>
    /// 所在域
    /// </summary>
    public string? Domain { get; set; }
}